package com.xiyou.luckdraw.api.service;

import com.xiyou.luckdraw.api.dto.user.CountNewVoucherResponse;
import com.xiyou.luckdraw.api.dto.user.UserTntegralLogListRequest;
import com.xiyou.luckdraw.api.dto.user.UserTntegralLogListResponse;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: UserTntegralLogService
 * @Description: 用户兑换劵记录Service接口
 * @author: limingxing
 * @Date: 2019-10-21 14:52
 */
public interface IUserTntegralLogService {

    /**
     * 根据用户id获取用户兑换劵记录
     * @param request
     * @return
     */
    UserTntegralLogListResponse getList(UserTntegralLogListRequest request);

    /**
     * 统计一周新增券
     * @return
     */
    CountNewVoucherResponse selectCountNewVoucher();

}
